<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="{{ asset('lib/html5shiv.js') }}"></script>
    <script type="text/javascript" src="{{ asset('lib/respond.min.js') }}"></script>
    <![endif]-->
    <link href="{{ asset('static/h-ui/css/H-ui.min.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('static/h-ui.admin/css/H-ui.login.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('static/h-ui.admin/css/style.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('lib/Hui-iconfont/1.0.8/iconfont.min.css') }}" rel="stylesheet" type="text/css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="{{ asset('lib/DD_belatedPNG_0.0.8a-min.js') }}" ></script>
    <script>DD_belatedPNG.fix('*');</script><![endif]-->
    <title>后台登录 - 合正维邦车身智能技术服务中心</title>
    <meta name="keywords" content="合正维邦车身智能技术服务中心">
    <meta name="description" content="合正维邦车身智能技术服务中心">
</head>
<body>
<input type="hidden" id="TenantId" name="TenantId" value="" />
<div class="header">
    <div class="row cl">

    </div>
</div>
<div class="loginWraper pd-20">
    <div class="loginBox">
        <form id="loginForm" class="form form-horizontal" action="{{ url('admin/doLogin') }}" method="post" onsubmit="return false;">
            {{ csrf_field() }}
            <div class="row cl">
                <label class="form-label col-xs-3 col-offset-1"><i class="Hui-iconfont">&#xe60d;</i></label>
                <div class="formControls col-xs-2">
                    <input name="name" type="text" placeholder="管理员名" class="input-text size-L">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-3 col-offset-1"><i class="Hui-iconfont">&#xe60e;</i></label>
                <div class="formControls col-xs-2">
                    <input name="pwd" type="password" placeholder="密码" class="input-text size-L">
                </div>
            </div>
            <div class="row cl">
                <div class="formControls col-xs-4 col-xs-offset-4">
                    <input id="login" type="button" class="btn btn-success radius size-L" value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;">
                </div>
            </div>
        </form>
    </div>
</div>
<div class="footer">Copyright 合正维邦宝马车身智能技术服务中心</div>

<script type="text/javascript" src="{{ asset('lib/jquery/1.9.1/jquery.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('static/h-ui/js/H-ui.js') }}"></script>
<script type="text/javascript" src="{{ asset('lib/layer/2.4/layer.js') }}"></script>
<script type="text/javascript">
    $('#login').click(function () {
        $('#loginForm').ajaxSubmit({
            dataType: 'json',
            success: function (result) {
                if (result.code == '0') {
                    location.href = '{{ url('admin') }}';
                } else {
                    layer.msg(result.msg, {icon: 5, time: 3000});
                }
            }
        });
    });
</script>
</body>
</html>